package vo;

import java.util.Date;

public class Sale {  //销售表
    private int furniture_id; //客户购买的商品编号
    private int count;//客户购买的数量
    private String time;//客户购买的时间

    public Sale(int furniture_id, int count, String time) {
        this.furniture_id = furniture_id;
        this.count = count;
        this.time = time;
    }

    public Sale(int furniture_id) {
        this.furniture_id = furniture_id;
    }

    @Override
    public String toString() {
        return "Sale{" +
                "购买的商品编号:" + furniture_id +
                ", 购买的数量:" + count +
                ", 购买的时间" + time +
                '}';
    }

    public int getFurniture_id() {
        return furniture_id;
    }

    public void setFurniture_id(int furniture_id) {
        this.furniture_id = furniture_id;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
